let div = document.querySelector('div')

div.addEventListener("mouseover", () => {

    div.style.backgroundColor = "tomato"

})


div.addEventListener("mouseout", () => {

    div.style.backgroundColor = ""

})
div.addEventListener("click", () => {

    alert(div.innerText)

})


//何伟豪
let hwh = document.querySelector('.hwh')
hwh.addEventListener('mouseover', () => {
    hwh.style.backgroundColor = 'skyblue'
})
hwh.addEventListener("mouseout", () => {

    hwh.style.backgroundColor = ""
})
hwh.addEventListener("click", () => {

    alert(hwh.innerText)

})


// 成世民
document.querySelector('.csm h1').addEventListener('click', () => {
    alert('成世民')


})

//李子恒
document.querySelector('.lzh').addEventListener('click', () => {
    alert('李子恒')

})

//郭修祥
document.querySelector('.gxx').addEventListener('click', () => {
    alert('郭修祥')

})
document.querySelector('.llk').addEventListener('click', () => {
    alert('梁立坤')

})